package xmlexample;

/*
 * Main.java
 *
 * Created on 25 marzo 2004, 19.07
 */
import java.net.URL;

import net.ermannofranco.xmltest.EmailSchema;
import net.ermannofranco.xmltest.MagazzinoSchema;
import net.ermannofranco.xmltest.PiattaformaScolastica_schema;
import net.ermannofranco.xmltest.Videoteca_schema;

/**
 * 
 * @author ermanno
 */
public class MainGUI {

	/**
	 * @param args
	 *            the command line arguments
	 */
	public static void main(String[] args) throws Exception {
		String title = "Generatore XML";
		URL iconURL = MainGUI.class.getClassLoader().getResource(
				"logo/logoJava.gif");
		Gui gui = new Gui(title, iconURL);

		EmailSchema emailSchema = new EmailSchema();
		emailSchema.save();
		gui.append(new MagazzinoSchema());
		gui.append(new Magazzino());
		gui.append(emailSchema);
		gui.append(new Videoteca_schema());
		gui.append(new Videoteca());
		gui.append(new Videoteca_stile());
		gui.append(new PiattaformaScolastica_schema());
		gui.append(new PiattaformaScolastica());
		gui.append(new PiattaformaScolastica_stile());

	}

}
